package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class DM_material_docDetailActivity extends UMWindowActivity {

	protected UMWindow DM_material_docDetail = null;
protected XVerticalLayout viewPage0 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout nb_main = null;
protected UMButton btn_back = null;
protected UMLabel label0 = null;
protected UMButton button1 = null;
protected XVerticalLayout panel1 = null;
protected XVerticalLayout panel3 = null;
protected XVerticalLayout panel4 = null;
protected UMListViewBase listviewdefine0 = null;
protected XHorizontalLayout panel6 = null;
protected XHorizontalLayout panel8 = null;
protected XVerticalLayout panel9 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label2 = null;
protected UMLabel label1 = null;
protected XHorizontalLayout panel12 = null;
protected XHorizontalLayout panel13 = null;
protected UMLabel label3 = null;
protected UMLabel label5 = null;
protected XHorizontalLayout panel16 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label9 = null;
protected UMLabel label6 = null;
protected XHorizontalLayout panel7 = null;
protected XHorizontalLayout panel10 = null;
protected UMLabel label10 = null;
protected UMLabel label4 = null;
protected XHorizontalLayout panel18 = null;
protected XHorizontalLayout panel14 = null;
protected UMLabel label11 = null;
protected UMLabel label7 = null;
protected XHorizontalLayout panel19 = null;
protected XHorizontalLayout panel17 = null;
protected UMLabel label12 = null;
protected UMLabel label8 = null;
protected XHorizontalLayout panel2 = null;
protected XHorizontalLayout panel15 = null;

	
	protected final static int ID_DM_MATERIAL_DOCDETAIL = 2068793239;
protected final static int ID_VIEWPAGE0 = 1676172803;
protected final static int ID_PANEL0 = 452386836;
protected final static int ID_NB_MAIN = 26783283;
protected final static int ID_BTN_BACK = 36457133;
protected final static int ID_LABEL0 = 664075775;
protected final static int ID_BUTTON1 = 180145214;
protected final static int ID_PANEL1 = 1934102450;
protected final static int ID_PANEL3 = 281876615;
protected final static int ID_PANEL4 = 445494659;
protected final static int ID_LISTVIEWDEFINE0 = 2050334510;
protected final static int ID_PANEL6 = 25473625;
protected final static int ID_PANEL8 = 1561302312;
protected final static int ID_PANEL9 = 1169902638;
protected final static int ID_PANEL11 = 906161881;
protected final static int ID_LABEL2 = 2054582162;
protected final static int ID_LABEL1 = 1144798448;
protected final static int ID_PANEL12 = 1462546023;
protected final static int ID_PANEL13 = 972975168;
protected final static int ID_LABEL3 = 259523484;
protected final static int ID_LABEL5 = 11662698;
protected final static int ID_PANEL16 = 2134012224;
protected final static int ID_PANEL5 = 1734742937;
protected final static int ID_LABEL9 = 1306868217;
protected final static int ID_LABEL6 = 2119061651;
protected final static int ID_PANEL7 = 161396171;
protected final static int ID_PANEL10 = 716761764;
protected final static int ID_LABEL10 = 76530871;
protected final static int ID_LABEL4 = 1831286479;
protected final static int ID_PANEL18 = 1084253313;
protected final static int ID_PANEL14 = 946360516;
protected final static int ID_LABEL11 = 279679160;
protected final static int ID_LABEL7 = 883448831;
protected final static int ID_PANEL19 = 273042796;
protected final static int ID_PANEL17 = 1089510467;
protected final static int ID_LABEL12 = 1796908182;
protected final static int ID_LABEL8 = 289396433;
protected final static int ID_PANEL2 = 2065304628;
protected final static int ID_PANEL15 = 886348344;

	
	
	@Override
	public String getControllerName() {
		return "DM_material_docDetailController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("DM_material_docDetail",ID_DM_MATERIAL_DOCDETAIL);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("nb_main",ID_NB_MAIN);
  idmap.put("btn_back",ID_BTN_BACK);
  idmap.put("label0",ID_LABEL0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label1",ID_LABEL1);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label5",ID_LABEL5);
  idmap.put("panel16",ID_PANEL16);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label9",ID_LABEL9);
  idmap.put("label6",ID_LABEL6);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("label10",ID_LABEL10);
  idmap.put("label4",ID_LABEL4);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("label11",ID_LABEL11);
  idmap.put("label7",ID_LABEL7);
  idmap.put("panel19",ID_PANEL19);
  idmap.put("panel17",ID_PANEL17);
  idmap.put("label12",ID_LABEL12);
  idmap.put("label8",ID_LABEL8);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel15",ID_PANEL15);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(DM_material_docDetailActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNb_mainView(final UMActivity context,IBinderGroup binderGroup) {
nb_main = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NB_MAIN
,"color","#323232"
,"padding-left","8"
,"width","fill"
,"font-size","17"
,"valign","center"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
btn_back = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_BACK
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_back_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
nb_main.addView(btn_back);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"bindfield","doctitle"
,"color","#323232"
,"width","0"
,"weight","1"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","数据管理"
,"height","fill"
);
nb_main.addView(label0);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"visible","false"
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"font-size","20"
,"valign","center"
,"width","88"
,"disabled","disabled"
,"font-family","default"
,"layout-type","hbox"
,"halign","right"
,"value","按钮"
,"height","44"
);
nb_main.addView(button1);

return nb_main;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","编码："
,"height","wrap"
);
panel11.addView(label2);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"bindfield","code"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","30.0"
,"content","编码"
,"height","fill"
);
panel11.addView(label1);

return panel11;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"width","0"
,"weight","2"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","名称："
,"height","wrap"
);
panel13.addView(label3);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"bindfield","name"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","30.0"
,"content","名称"
,"height","fill"
);
panel13.addView(label5);

return panel13;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
panel12.addView(panel13);

return panel12;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","版本："
,"height","wrap"
);
panel5.addView(label9);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"bindfield","version"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","版本号"
,"height","fill"
);
panel5.addView(label6);

return panel5;
}
public View getPanel16View(final UMActivity context,IBinderGroup binderGroup) {
panel16 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL16
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel16.addView(panel5);

return panel16;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#808080"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","规格："
,"height","wrap"
);
panel10.addView(label10);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#808080"
,"font-size","14"
,"valign","center"
,"widthwrap","30.0"
,"content","规格"
,"bindfield","materialspec"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel10.addView(label4);

return panel10;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel7.addView(panel10);

return panel7;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL14
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#808080"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","型号："
,"height","wrap"
);
panel14.addView(label11);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#808080"
,"font-size","14"
,"valign","center"
,"widthwrap","30.0"
,"content","型号"
,"bindfield","materialtype"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel14.addView(label7);

return panel14;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL18
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel18.addView(panel14);

return panel18;
}
public View getPanel17View(final UMActivity context,IBinderGroup binderGroup) {
panel17 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL17
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#808080"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","图号："
,"height","wrap"
);
panel17.addView(label12);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#808080"
,"font-size","14"
,"valign","center"
,"widthwrap","30.0"
,"content","图号"
,"bindfield","graphid"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel17.addView(label8);

return panel17;
}
public View getPanel19View(final UMActivity context,IBinderGroup binderGroup) {
panel19 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL19
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel17 = (View) getPanel17View((UMActivity)context,binderGroup);
panel19.addView(panel17);

return panel19;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL9
,"width","0"
,"weight","1"
,"valign","TOP"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel9.addView(panel11);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
panel9.addView(panel12);
View panel16 = (View) getPanel16View((UMActivity)context,binderGroup);
panel9.addView(panel16);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel9.addView(panel7);
View panel18 = (View) getPanel18View((UMActivity)context,binderGroup);
panel9.addView(panel18);
View panel19 = (View) getPanel19View((UMActivity)context,binderGroup);
panel9.addView(panel19);

return panel9;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel8.addView(panel9);

return panel8;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","180"
);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel6.addView(panel8);

return panel6;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE0
,"collapsed","true"
,"padding-left","5"
,"valign","TOP"
,"ondownrefresh","action:listviewdefine0_ondownrefresh"
,"layout","vbox"
,"bindfield","bdlistdata"
,"onuprefresh","action:listviewdefine0_onuprefresh"
,"width","fill"
,"layout-type","vbox"
,"halign","center"
,"padding-right","5"
,"height","fill"
);
listviewdefine0.addListItemView("getPanel6View");

return listviewdefine0;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL4
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel4.addView(listviewdefine0);

return panel4;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL3
,"width","fill"
,"weight","1"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel3.addView(panel4);

return panel3;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL1
,"padding-top","2"
,"padding-left","2"
,"weight","1"
,"padding-bottom","2"
,"valign","TOP"
,"margin-right","3"
,"margin-left","3"
,"width","fill"
,"margin-top","3"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","3"
,"padding-right","2"
,"height","0"
);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel1.addView(panel3);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"padding-top","2"
,"padding-left","5"
,"width","fill"
,"padding-bottom","2"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","5"
,"height","50"
);
panel15 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL15
,"visible","false"
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel2.addView(panel15);

return panel2;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View nb_main = (View) getNb_mainView((UMActivity)context,binderGroup);
panel0.addView(nb_main);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);

return panel0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F7F8F8"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
DM_material_docDetail = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_DM_MATERIAL_DOCDETAIL
,"layout","vbox"
,"controller","DM_material_docDetailController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
DM_material_docDetail.addView(viewPage0);

return (UMWindow)DM_material_docDetail;
}

	
	public void actionBtn_back_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_back_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onPageBtnClick()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onuprefresh(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onuprefresh";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "listUpRefresh()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_ondownrefresh(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_ondownrefresh";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "listDownRefresh()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "pageload()",UMActivity.getViewId(control),args);
}


}
